import request from '@/router/axios';
//分页
export const getList = (current,size,params) => {
  return request({
    url: 'api/blade-system/dept/selectPage',
    method: 'get',
    params: {
      ...params,
      current,
      size
    }
  })
}
//增加修改
export const submit = (params) => {
  return request({
    url: 'api/blade-system/dept/submit',
    method: 'post',
    data: {
      ...params,
    }
  })
}
//删除
export const remove = (ids) => {
  return request({
    url: 'api/blade-system/dept/remove?ids='+ids,
    method: 'post',
    data: {}
  })
}
